<?php
/**
 * @package    Delcampe Community
 *
 * @copyright Sebastien Delcampe
 * @license Please, don't read or copy
 * @author afernando
 *
 * @version 1.0
**/
?>
<?php if ($this->pageCount): ?> 
<div class="paginationControl">
<!-- Previous page link --> 
<?php if (isset($this->previous)): ?> 
  <!--<a href="<?php //echo $this->url(array('page' => $this->previous)); ?>" class="pagination">&lt; Previous</a> |-->
  <a href="javascript: void(0);" onclick="loadPage('/admin/translate/manage/section/<?php echo $this->section; ?>/page/<?php echo $this->previous; ?>')">&lt; Previous</a> |
<?php else: ?> 
  <span class="pagindisabled">&lt; Previous</span> | 
<?php endif; ?> 

<!-- Numbered page links -->
<?php foreach ($this->pagesInRange as $page): ?> 
  <?php if ($page != $this->current): ?>
    <!--<a href="<?php //echo  $this->url(array('page' => $page)); ?>" class="pagination"><?php //echo  $page; ?></a> |--> 
    <a href="javascript: void(0);" onclick="loadPage('/admin/translate/manage/section/<?php echo $this->section; ?>/page/<?php echo $page; ?>')"><?php echo $page; ?></a>|
  <?php else: ?>
    <?php echo $page; ?> | 
  <?php endif; ?>
<?php endforeach; ?>

<!-- Next page link --> 
<?php if (isset($this->next)): ?> 
  <!--<a href="<?php //echo $this->url(array('page' => $this->next)); ?>" class="pagination">Next &gt;</a>-->
  <a href="javascript: void(0);" onclick="loadPage('/admin/translate/manage/section/<?php echo $this->section; ?>/page/<?php echo $this->next; ?>')">Next &gt;</a>
<?php else: ?> 
  <span class="pagindisabled">Next &gt;</span>
<?php endif; ?> 
</div> 
<?php endif; ?>